package com.jumeng.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("t_wx_user")
public class PromotionRelationEntity extends BaseEntity{

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "code")
    private String code;

    /**
     * 主推广人OpenID
     */
    @TableField(value = "master_promotion_account")
    private String masterPromotionAccount;

    /**
     * 填写人OpenId
     */
    @TableField(value = "fill_in_promotion_account")
    private String fillInPromotionAccount;

    /**
     * 推广人的推广码
     */
    @TableField(value = "master_promotion_code")
    private String masterPromotionCode;
}
